import { createApp } from "vue";
import "./style/style.css";
import App from "./App.vue";
import { createPinia } from "pinia";
import * as Icons from "@element-plus/icons-vue";
import piniaPluginPersistedstate from "pinia-plugin-persistedstate";
const app = createApp(App);
const pinia = createPinia();
pinia.use(piniaPluginPersistedstate);

app.use(pinia);
app.mount("#app");
Object.keys(Icons).forEach((key) => {
  app.component(key, Icons[key]);
});
